﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XCommunity.Documents;

namespace XCommunity.Frames
{
  public interface IPostFrame
  {

    ITopicFrame Topic
    {
      get;
    }

    PublishedDocument CurrentVersion
    {
      get;
    }

    IEnumerable<PublishedDocument> HistoricalVersions
    {
      get;
    }

    string Author
    {
      get;
    }

    Guid Guid
    {
      get;
    }


    /// <summary>
    /// 帖子发布时间
    /// </summary>
    DateTime PublishDate
    {
      get;
    }


    /// <summary>
    /// 帖子最后修改时间
    /// </summary>
    DateTime LastModifyDate
    {
      get;
    }


    /// <summary>
    /// 指示此帖子对象是不是话题的主题
    /// </summary>
    bool IsTheme
    {
      get;
    }

  }
}